/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package org.wx;

import cn.webrx.App;
import cn.webrx.entity.Book;
import cn.webrx.entity.User;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.test.context.junit.jupiter.SpringExtension;

/**
 * <p>Project: sboot2021 - Demo
 * <p>Powered by webrx On 2021-07-30 13:12:03
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 16
 */
@ExtendWith(SpringExtension.class)
@SpringBootTest(classes = App.class)
public class Demo {
    @Autowired
    private User user;

    @Autowired
    private Book book;

    @Test
    public void t2(){
        System.out.println(book);
    }

    @Test
    public void t1(){
        System.out.println(user);
    }
}
